# -*- coding: utf-8 -*-
# @Time    : 2019/12/6 17:17
# @Author  : Damn7Kx
# @Software: PyCharm

if __name__ == "__main__":

    import time, datetime
    import os
    count = 0
    while True:
        count += 1
        print(datetime.datetime.now(), 'Time_task第%s次运行爬虫' % count)
        os.system("scrapy crawl zntj")
        os.system("scrapy crawl Huitoutiao")
        os.system("scrapy crawl Jiemian")
        os.system("scrapy crawl Aikan")
        os.system("scrapy crawl Beidou")
        print("Time Task进入等待时间...")
        time.sleep(180)
